/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package shaman.storage.impl.file;

import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;

/**
 *
 * @author dmitriy
 */
public interface StorageFileAccessor {
    InputStream fetchFile(String name, long offset, long length) throws FileNotFoundException, IOException;
    OutputStream storeFile(String name) throws FileNotFoundException, IOException;
}
